home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / progutil / stdwin.zoo / h / configure.h next >
C/C++ Source or Header  |  1989-10-17  |  740b  |  35 lines

  1. /* Figure out whether we are using MPW or LSC.
  2.    We assume that if 'unix' and 'MSDOS' are undefined,
  3.    this is the Macintosh; of the two compilers used there,
  4.    MPW defines 'macintosh', while LSC doesn't.
  5.    For the benefit of portable code we define 'macintosh'
  6.    when we find this is LSC; all LSC or MPW-dependent code
  7.    should test for 'LSC' or 'MPW', while general Mac-specific code
  8.    should test for 'macintosh'.
  9.    In order that this file be re-entrant, we also if LSC is already
  10.    defined. */
  11.  
  12. #ifdef atarist
  13. #ifdef __GNUC__
  14. #ifndef unix
  15. #define unix
  16. #endif
  17. #endif
  18. #endif
  19.  
  20.  
  21. #ifndef unix
  22. #ifndef MSDOS
  23. #ifndef LSC
  24. #ifndef macintosh
  25. #define LSC
  26. #define macintosh
  27. #else
  28. #ifndef MPW
  29. #define MPW
  30. #endif
  31. #endif
  32. #endif
  33. #endif
  34. #endif
  35.